package com.habdqn.jspdemo.im.dto;

import java.util.List;

/**
 * 用来组装前端需要的数据格式对象
 * {
 *     total:总条数,
 *     rows:company数组
 * }
 *
 * @author Administrator
 */
public class Company {
    private int total;
    private List<com.habdqn.jspdemo.im.enetity.Company> rows;

    public Company() {
    }

    public Company(int total, List<com.habdqn.jspdemo.im.enetity.Company> rows) {
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<com.habdqn.jspdemo.im.enetity.Company> getRows() {
        return rows;
    }

    public void setRows(List<com.habdqn.jspdemo.im.enetity.Company> rows) {
        this.rows = rows;
    }
}
